<template>
  <div>
    用户名{{rou.query.userName}}
  </div>
  密码{{rou.query.userPwd}}
</template>

<script setup lang="ts">
  import  {useRoute} from 'vue-router'

  let rou=useRoute();
  alert('登录成功');
</script>

<style scoped>

</style>